package com.zaimokuza.cn.entity.blog;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author zaimokuza
 */
@ApiModel("博客标签")
@Data
public class Tag {

    @ApiModelProperty("标签ID")
    private String id;
    @ApiModelProperty("用户ID")
    private String userId;
    @ApiModelProperty("标签名称")
    @NotBlank(message = "请填写标签名称！")
    private String name;
    @ApiModelProperty("用户名称")
    private String userName;
    @ApiModelProperty("创建时间")
    private String createdTime;

}
